package com.allwees.bs.c.module.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.allwees.core.common.constant.EPlatform;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName("usr_active_log")
public class UsrActiveLog {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String userUuid;

//    private String deviceId;

    private EPlatform platform;

    private String appVersion;

    private Integer activeDay;

    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
}